#ifndef ConfigReader_h
#define ConfigReader_h

#include "IOError.h"

class ConfigReader
{
 public:
  static const int farg_size = 1024; //max number of arguments allowed in file
  int fargc;
  char *fargv[farg_size];
  char *cfg_filename;

  ConfigReader();
  void getConfigFileName(int *argc, char **argv) throw(IOError);
  void readConfigFile() throw(IOError);
};

#endif
